package com.example.devsa_platform.controller;

import com.example.devsa_platform.common.Result;
import com.example.devsa_platform.pojo.vo.stats.TechCultureStatsVo;
import com.example.devsa_platform.service.TechCultureService;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/s3")
public class TechCultureInfoController {

    @Resource
    private TechCultureService techCultureService;

    @GetMapping("/techCultureStats")
    public Result<TechCultureStatsVo> techCultureInfo(){
        return techCultureService.techCultureInfoStats();
    }
}
